<template>

  <el-form-item :label="props.dataItem.label" :prop="props.dataItem.defaultValue">

    <el-input-number ref="fieldEditor" v-model="props.dataItem.defaultValue"  :min="props.dataItem.min" :max="props.dataItem.max"  :type="props.dataItem.tagIcon" :placeholder="props.dataItem.placeholder"
              :style="props.dataItem.style"

    />
  </el-form-item>
</template>

<script lang="ts">
export default {
  name: 'input-number-widget',
}
</script>
<script setup lang="ts" name="input-widget">
import {defineComponent, defineProps, ref, resolveComponent, reactive, onMounted} from 'vue'
const state = reactive({
  fieldModel:''
})

const props = defineProps({
  // 搜索表单
  dataItem: {
    type: Object,
    default: () => {
    },

  },
});
// 页面加载时
onMounted(() => {
});
</script>

<style lang="scss" scoped>

</style>
